package com.zyh.homework.test2.test;

import com.zyh.homework.test2.domain.Student;

import java.util.Scanner;

public class MainApp {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入学员编号：");
        String id = input.next();
        System.out.println("请输入学员姓名：");
        String name = input.next();
        System.out.println("请输入学员性别：");
        String sex = input.next();
        System.out.println("请输入学员身高：");
        double height = input.nextDouble();
        System.out.println("请输入学员年龄：");
        int age = input.nextInt();
        Student stu = new Student(id, name, sex, height, age);
        stu.show();
    }
}
